<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" data-validate="parsley" id="validate-form">
                		<div class="form-group col-sm-6">
                    		<label class="col-sm-4 control-label" >绑定卡号:</label>
                    		<div class="col-sm-8">
                    			<input type="text"  data-minlength="1"   readonly name="card_no" value="{$model.card_no}" class="form-control" id="card_no"/>
                    		</div>
                   		</div>
                   		<div class="form-group col-sm-6">
                    		<div class="col-sm-2">
                    			 <div class="btn-primary btn" id="form-submit">提交</div>
                    		</div>
                    		<div class="col-sm-2">
                    			 <div class="btn-default btn" data-dismiss="modal">关闭</div>
                    		</div>
                   		</div>
                	
                    <div class="form-group  col-sm-6">
                    		<label class="col-sm-4 control-label" >验证方式:</label>
                    		<div class="col-sm-8">
                    			<select class="form-control" name="in_varifycation_type" id="in_varifycation_type" >
	                    				<option value="0" {eq name="model.in_varifycation_type" value="0" }selected{/eq}  >不验证</option>
	                    				<option value="1" {eq name="model.in_varifycation_type" value="1" }selected{/eq}  >指纹验证</option>
	                    				<option value="2" {eq name="model.in_varifycation_type" value="2" }selected{/eq}  >人脸验证</option>
	                    				<option value="3" {eq name="model.in_varifycation_type" value="3" }selected{/eq}  >前台验证</option>
	                    		</select>
                    		</div>
               	    </div>
                	<div class="form-group col-sm-12">
                    		<div class="col-sm-9">
                    			<div class="col-sm-9 col-sm-offset-3"  id="is_bind_face" data-key="{$is_bind_face}" >
	                    			<div class="alert alert-dismissable alert-danger" >
	                    				<strong>1.您已经绑定了人脸，再次录入人脸  提交后 将会覆盖之前的数据</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
	                    	</div>
                    			{foreach name="icons" item="v" key="k"}
		                    		<div class="col-sm-3  col-sm-offset-1">
		                    			<div class="col-sm-12" style="height: 150px;background-color: oldlace;">
		                    				<img id="face_image{$k+1}" style="height: 150px;width: 100%;" src="{$v}" />     
		                    			</div>
		                    			<div class="col-sm-12" style="margin-top: 2px;text-align: left;">
		                    				<span  class="label label-success face_update" style="cursor:pointer;" data-param="{$k}">编辑</span>
		                    				<span  class="label label-info face_update_over" style="cursor:pointer;" data-param="{$k}" >同步</span>
		                    				<span  class="label label-danger face_delete" style="cursor:pointer;" data-param="{$k}">清空</span>
		                    			</div>
	                    			</div>
	                    		{/foreach}
                    		</div>	
                    		<div class="col-sm-3" style="text-align: center;">
                    	    	    <div class="col-sm-12">
                    	    	    		<h6>人脸模型：</h6>
                    	    	    </div>
                    	    	 	<div class="col-sm-12 ">
		                    			  <div class="btn-danger btn-sm btn btn_face_camare" data-step="1">采集人脸</div>
                    				</div>
                    				<div class="col-sm-12 m-t-b-10">
                    					 <div class="btn-primary btn-sm btn btn_face_camare" data-step="2">结束采集</div>
                    				</div>
                    				<div class="col-sm-12 m-t">
		                				 <div class="btn-primary btn  btn-sm  btn_interface_url" >接口图像</div>
		                		  	</div>
                    	    </div>
                    </div>
                	
                	 <div class="form-group col-sm-12" class="m-t-b-10" style="border-top:1px solid;">
	                    	<div class="col-sm-9">
                    			<div class="col-sm-9 col-sm-offset-3"  style="margin-top: 4px;" id="is_bind_finger" data-key="{$is_bind_finger}" >
	                    			<div class="alert alert-dismissable alert-danger" >
	                    				<strong>1.您已经绑定了指纹，再次录入指纹 提交后 将会覆盖之前的指纹</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
		                    	</div>
		                    	
	                    	    <div class="col-sm-12">
	                    	    		<div class="col-sm-4 col-sm-offset-1">
			                    			<div  class="col-sm-12" style="height: 150px;background-color:oldlace">
			                    				<img id="finger_image1" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
			                    			</div>
			                    			<div class="col-sm-12 btn btn-lg btn-danger btn_fingerprint" data-step="1">录入指纹</div>
		                    			</div>
			                    		<div class="col-sm-4">
			                    			<div class="col-sm-12" style="height: 150px;background-color: oldlace;">
			                    				<img id="finger_image2" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
			                    			</div>
			                    			<div class="col-sm-12 btn btn-lg btn-danger btn_fingerprint" data-step="2">确认指纹</div>
			                    		</div>	
	                    	    </div>
	                    	</div>
                    	    <div class="col-sm-3" style="text-align: center;">
                    	    	  <h6>指纹模型：</h6>
                    	    </div>
                    		
                    </div>
                    
                    <input type="hidden" id="id" name="id" value="{$model.id}"/>
                    <input type="hidden" id="fingerprint"  name="fingerprint" value="{$model.fingerprint}" />
                    <input type="hidden" id="face1" name="face1" value="{$facecode.face1}" />
                    <input type="hidden" id="icon1" name="icon1" value="{$facecode.icon1}"/>
                    <input type="hidden" id="borrow_card_no" value="{$borrow_card_no}" />
                    
                    <input type="hidden" id="in_varifycation" name="in_varifycation" value="{$model.in_varifycation}" />
                </form>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}member/edit.js'></script>